package com.google.code.twithis.core.persistence.dao;

import com.google.code.twithis.core.ui.menuitem.TwiThisMenuItem;


public class TwiThisMenuItemDao extends AbstractDao {

	protected long getPersistentObjectId() {
		return 0xbff7f5faa700bcc7L;
	}

	public TwiThisMenuItem getMenuItem() {
		Object contents = getPersistentObject().getContents();

		if (contents != null) {
			return (TwiThisMenuItem) contents;
		}
		else {
			TwiThisMenuItem twiThisMenuItem = new TwiThisMenuItem(0);
			getPersistentObject().setContents(twiThisMenuItem);
			return twiThisMenuItem;
		}
	}

}
